package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.common.ResponseResult;
import com.iwhalecloud.citybrain.flow.platform.manager.common.client.HttpDispatchWorkItemDto;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.task.TurnTaskVo;
import org.flowable.task.api.Task;

public interface FlowTurnTaskService {

    ResponseResult turnTask(HttpDispatchWorkItemDto httpDispatchWorkItemDto);


    ResponseResult turnTaskNonUserCheck(HttpDispatchWorkItemDto httpDispatchWorkItemDto);

    ResponseResult turnTask(Task task, TurnTaskVo turnTaskVo);

    void updateTaskTrace(String taskId, String turnToUserCode,String operatorCode);

    ResponseResult batchTurnTasks(Task task, TurnTaskVo turnTaskVo);

}
